
import layout from '@/views/image/module/Layout'
export default [
  {
    path: '/image',
    name: 'image',
    component: () => import('@/views/image/lis'),
    affiliation: 'main',
    meta: { title: '我的环境', icon: 'icon13', name: 'image' },
  },
  {
    path: '/image/detail',
    name: 'imagedetail',
    component: () => import('@/views/image/detail'),
    // affiliation: 'main',
    meta: { title: '构建镜像', icon: 'icon13', name: 'image' },
  },
  {
    path: '/image',
    name: 'image',
    component: layout,
    // affiliation: 'main',
    meta: { title: '镜像构建', icon: 'icon13', name: 'image' },
    children: [
      {
        path: 'code',
        component: () => import('@/views/image/code'),
        name: 'imagecode',
        meta: {
          title: '概览',
          icon: 'nav-menu-icon1',
          affiliation: "image"
        }
      },
      {
        path: 'file',
        component: () => import('@/views/image/file'),
        name: 'imagefile',
        meta: {
          title: '文件',
          icon: 'nav-menu-icon1',
          affiliation: "image"
        }
      },
      {
        path: 'metrics',
        component: () => import('@/views/image/module/metrics'),
        name: 'imagemetrics',
        meta: {
          title: '监控',
          icon: 'nav-menu-icon1',
          affiliation: "image"
        }
      },
      {
        path: 'log',
        component: () => import('@/views/image/module/log'),
        name: 'imagelog',
        meta: {
          title: '日志',
          icon: 'nav-menu-icon1',
          affiliation: "image"
        }
      },
    ]
  },
]
